<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>作业</title>
		<style>
		div#comment{
			width: 800px;
			height: 80px;
			border: 1px solid gainsboro;
		}
		div.line{
			width: 90%;
			border: 1px solid gainsboro;
			margin: 0 auto;
			margin-top: 40px;
		}
		/* 下半部分 */
		div#pages{
			width: 800px;
			margin-top: 10px;
		}
		#pages a{
			border: 1px solid gainsboro;
			padding: 2px 10px;
			border-radius: 5px;
			margin-right: 6px;
		}
		/* 默认选中状态 */
		div#pages a.current{
			border: 0;
			text-decoration: none;/* 去掉下划线 */
			color: #000;
		}
		</style>
	</head>
	<body>
		<!--html结构-->
		<div id="comment">
			<div class="line"></div>
		</div>
		<div id="pages">
			<a href="#" class="current">1</a>
			<a href="#">2</a>
			<a href="#">3</a>
			<a href="#">4</a>
			<a href="#">5</a>
			<a href="#">6</a>
		</div>
	</body>
</html>